package com.oocl.homework.crm.model;

public class Result {
	
	private int code;
	
	private String message;
	
	private String data;
	
	


	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}
	
	@Override
	public String toString() {
		String result = "";
		if (message!=null) 
			result+=message;
		if (data!=null) 
			result+=data;
		
		return result;
	}

}
